#include <iostream>
#include <vector>
#include <fstream>
#include <stdlib.h>
#include <sstream>
#include <iterator>
#include <algorithm>

#define CANTSENSORES 1000


int main(int argc, char *argv[]) {
		
		std::ofstream output;
		
		output.open("p2.in");
		for (int i = 1; i<CANTSENSORES; i+=10){	
			unsigned int k = (rand() % 99) + i + 1;
			output << i << " " << k;
			for (int j = 0; j<i; j++){
				unsigned int inter = (rand() % 199) + 2;
				output << " " << inter;
			}
			output << "\n";		
		}
		output << "#";	
		output.close();
	return 0;
}

